package com.yangfei.SportAssistant.services;

import android.location.Location;

public class MapListsenerSuper {
	private LocationFilter mlocationFilter = new LocationFilter();
	protected String mapProviderName = null;
	MapListsenerSuper listsenerSelf;
	/**
	 * Is the phone currently moving?
	 */
	private boolean isMoving = true;
	public boolean isMoving() {
		return isMoving;
	}
	public void setMoving(boolean isMoving) {
		this.isMoving = isMoving;
	}
	/**
	 * Last good location the service has received from the location listener
	 */
	private Location lastLocation = null;
	
	public Location getLastLocation() {
		return lastLocation;
	}
	public void setLastLocation(Location lastLocation) {
		this.lastLocation = lastLocation;
	}
	//Override functions
	public void Init(MapServiceInterface aService){};
	public void StartListen(long minInterval, int minDistance){};
	public void StopListen(){};
	public boolean IsManagerReady(){ return false;};
	public void Destroy(){};
	public Object GetMapMag(){ return null; };
	
	//common functions
	public LocationFilter GetLocationFilter(){ return mlocationFilter; };
	public void ResetLocationFilter() { mlocationFilter.Reset(); };
	public String GetMapProviderName() {return mapProviderName;};
	
}
